package internal;

import db.DB_Abstract;
import db.DB_SQL;

public class testUpdates {

	public static void main(String[] args){

		DB_SQL myDB = new DB_SQL();
		//DB_Abstract myDB = new DB_SQL();
		if (myDB.connect() == 0)
			System.out.println("Failed To Connect");
	//myDB.createUpdateCitiesTable("Cities1.txt", args[2]);
		myDB.updateGeoTables(args[0], args[1],1,args[2]);
	/*	int flag=1;
		if (flag==1){
			if ((myDB.updateAndOverrideCitiesTable()) == 0) {
				System.out.println("Error update with override");
			

			}
		}else{
			if(myDB.updateWithnoOverride()==0){
				System.out.println("Error updateWithOutOverride");
			
			}
		}
			if(myDB.dropUpdatesTable()==0){
				System.out.println("Error drop updateTable");
		
			}
		*/
	}}
